package com.wangcx.middleware.dynamic.thread.pool.sdk.registry;

import com.wangcx.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @author wangcx
 * @description 注册中心接口
 * @create 2024-10-06 16:21
 */
public interface IRegistry {

    /**
     * 上报线程池
     * @param threadPoolEntities
     */
    void reportThreadPool(List<ThreadPoolConfigEntity> threadPoolEntities);

    /**
     * 上报线程池的参数
     * @param threadPoolConfigEntity
     */
    void reportThreadPoolConfigParameter(ThreadPoolConfigEntity threadPoolConfigEntity);

}
